package view.menuelements;

import java.awt.Component;
import java.awt.Dimension;
import java.net.URL;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;

public class MenuButton extends JButton {

	public MenuButton(String name, int weite, int hoehe) {
		super(name);
		setAlignmentX(Component.CENTER_ALIGNMENT);
		Dimension dimension = new Dimension(weite,hoehe);
		setPreferredSize(dimension);
		setMinimumSize(dimension);
		setMaximumSize(dimension);
	
	}

}
